package com.yunji.storage.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.yunji.storage.domain.RepairTicketDO;
import org.apache.ibatis.annotations.Select;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.mapper
 * @Title: RepairTicketMapper
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-27 19:57:03      V1.0        HuaAo       新建类
 */

public interface RepairTicketMapper extends MPJBaseMapper<RepairTicketDO> {

    @Select(" <script>UPDATE v3_repair_ticket set audit_status = null WHERE del_flag = 0 AND repair_id = #{repairId} </script>")
    void resetAuditStatus(Long repairId);
}